﻿$(document).ready(function () {

    var params = {};
    //params.wmode = "transparent";
    var swfVersionStr = "10.2.0";
    var xiSwfUrlStr = "swf/playerProductInstall.swf";


    $("#swfList").delegate('li', 'click', function () {

        var swfFileName = "";

        switch (this.id) {
            case "1":
            swfFileName = "content/movies/elinirSchool1.swf";
                break;

            case "2":
                alert("t2");
                break;

            case "3":
                alert("t3");
                break;
        }

        // embed the swf file
        var so = swfobject.embedSWF(swfFileName, "flashMovie", "840", "490", swfVersionStr, xiSwfUrlStr, {}, params);


    });
});